#include <bits/stdc++.h>

#define fi first
#define se second
#define eb emplace_back
#define ep emplace
#define rep(i, x, y) for(int i = (x); i <= (y); i++)
#define per(i, x, y) for(int i = (x); i >= (y); i--)

using namespace std;

using ll = long long;
using pii = pair < int, int >;
using vec = vector < int >;
using veg = vector < pii >;

const int N = 3e6 + 10;

template < typename T > void chkmin(T &x, const T &y) { x = x < y ? x : y; }

using vecc = vector < char >;

int n;
int t[N], f[N];
vector < char > pot;

char get() {
	char ch = getchar();
	while(!isdigit(ch) && ch != 'x') ch = getchar();
	return ch;
}

string trans1(char x) {
	string ret = "s((";
	ret += x;
	ret += "))";
	return ret;
}
/*
string trans1(vecc t) {
	string ret;
	for(auto v : t)
		if(ret.size()) ret += "*" + trans1(v);
		else ret += trans1(v);
	ret = "(" + ret + ")";
	return ret;
}
*/
void cont(string &x, const char &y) {
	int l = x.size();
	if(x == "") x += y;
	else x += "+" + y;
	cerr <<"!" <<  l << " " << x.size() << endl;
}

void cont(string &x, const string &y) {
	if(x == "") x += y;
	else x += "+" + y;
}

void contmul(string &x, string y) {
	if(x == "") x += y;
	else x += "*" + y;
}

char gchar() { char t = pot.back(); pot.pop_back(); return t; }

string get1() {
	string t = trans1(gchar());
	return t;
}

string get2() {
	string t = trans1(gchar());
	t = "(" + t + "+" + trans1(gchar()) + ")";
	return t;
}

string getif(int x) {
	char t;
	string cur;
	while((t = gchar()) != 'x') {
		contmul(cur, "" + t);
	}
	cur = cur + "*(" + t;
	rep(i, 1, x) cur = cur + "-" + get1();
	cur = cur + ")";
	return cur;
}

int main() {
#ifdef YJR_2333_TEST
#endif
	string x = "";
	char c = 'd';
	x += "+";
	x += c;
	cout << x.size() << endl;
	cout << x << endl;
}
